if (${input$entity} instanceof LivingEntity _entity) _entity.swing(InteractionHand.OFF_HAND, true);